<!DOCTYPE html>
<style>
.vertical {
  writing-mode: vertical-rl;
}
</style>
<body>
<input placeholder="placeholder">
<input class="vertical" placeholder="placeholder">
</body>
